package com.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling // 开启定时任务
@EnableAsync // 开启异步方法调用
@EnableAspectJAutoProxy
public class SpringbootDemoApplication {

	public static void main(String[] args) {
		// --spring.profiles.active=dev
		SpringApplication.run(SpringbootDemoApplication.class, args);
	}

}
